{include 'index/layout/conHeader'}
{include 'index/compose/navbar'}
<article class="yifang-wrap">
    <div class="yifang-main">
        <div class="yifang-main-left">
            <div class="sitemap">当前位置：
                <a title="首页" href="{YIFANG_URL}">首页</a>
                <i>-></i>
                <a href="{$module['linkUrl']}">{$module['name']}首页</a>
                {if $article}
                <i>-></i>
                <a href="{$category['linkUrl']}">{$category['name']}</a>
                <i>-></i>
                <a href="{$article['linkUrl']}">{$article['title']}</a>
                {/if}
            </div>
            <div class="left-content">
                {if $article}
                <div class="content-head">
                    <div class="content-title">
                        <h1>{$article['title']}</h1>
                    </div>
                </div>
                <div class="article-body">
                    <div class="article-intro">
                        <span class="time">{date('Y-m-d H:i', $article['addTime'])}</span> •
                        <span class="category"><a href="">信息</a></span> • 发布者：
                        <span class="read">{$article['author']}</span>
                    </div>
                    <div class="article-content">
                        {$article['content']}
                    </div>
                </div>
                {else}
                <div class="article-body">
                    内容不存在
                </div>
                {/if}
            </div>
            <div>
                {YiFang:artPre moduleId="<request.moduleId>" articleId="<request.articleId>" }
                <a href="{$field['linkUrl']}">上一篇</a>
                {/YiFang:artPre}
                {YiFang:artNext moduleId="<request.moduleId>" articleId="<request.articleId>" }
                    <a href="{$field['linkUrl']}">下一篇</a>
                {/YiFang:artNext}
            </div>
            <div class="left-recommended">
                <div class="recommended-content">
                    <div class="recommended-head">
                        <div class="recommended-title"> <span>相关推荐</span> </div>
                    </div>
                    <div class="recommended-body">
                        {YiFang:artData moduleId="<request.moduleId>" articleId="<request.articleId>" size="5"}
                        <div class="recommended-text"> <a href="{$field['linkUrl']}">{$field["title"]}</a>
                            <span>{date('Y-m-d H:i', $field['addTime'])}</span>
                        </div>
                        {/YiFang:artData}
                    </div>
                </div>
            </div>
            <!--<div class="feedback">-->
            <!--<div class="yifang-search">-->
            <!--<div class="lately-head">-->
            <!--<div class="lately-title">-->
            <!--<span>评论列表</span>-->
            <!--</div>-->
            <!--</div>-->
            <!--<div class="feedback-body">-->
            <!--<p class="feedback-text">-->
            <!--<span>共有0条评论</span>来说两句吧...-->
            <!--</p>-->
            <!--<div class="feedback-content">-->
            <!--<form action="">-->
            <!--<p>-->
            <!--<input class="input-text" type="text" value="访客">-->
            <!--<label for="">名称(*)</label>-->
            <!--</p>-->
            <!--<p>-->
            <!--<input class="input-text" type="text">-->
            <!--<label for="">邮箱(建议QQ邮箱)</label>-->
            <!--</p>-->
            <!--<p>-->
            <!--<input class="input-text" type="text">-->
            <!--<label for="">主页</label>-->
            <!--</p>-->
            <!--<p>-->
            <!--<textarea name="" id="" cols="50" rows="4" placeholder="欢迎在这里发表你的看法-->
            <!--请勿发布无意义的内容，否则将会被永久禁言，并且曾经发布的评论也会被屏蔽。且行且珍惜！"></textarea>-->
            <!--</p>-->
            <!--<p>-->
            <!--<input class="submit" type="submit">-->
            <!--</p>-->
            <!--</form>-->
            <!--</div>-->
            <!--</div>-->
            <!--</div>-->
            <!--</div>-->
        </div>
        <div class="yifang-main-right">
            <div class="right-content">
                {include 'index/compose/lastPush'}
                {include 'index/compose/search'}
                {include 'index/compose/hotRecommend'}
            </div>
        </div>
    </div>
</article>
{include 'index/compose/footerNav'}
<script>
    $.post("/article/uploadClickLogs",
        {
            _method: "put",
            moduleId: {$request['moduleId']} ,
            id: {$request['articleId']},
            hits:1,
        },
        function (data, status) {
//        console.log(data)
        });
</script>
<script src="__INDEX_STATIC__/default/js/common.js?random={extendSetting('random')}"></script>
{include 'index/layout/footer'}
